#ifndef DOWNLOADTASK_H
#define DOWNLOADTASK_H

#include <QObject>
#include <QUrl>
#include <QString>


class DownloadTask : public QObject
{
    Q_OBJECT
public:
    explicit DownloadTask(const QUrl &url, const QString &rename, const QString &savePath,
                 int priority, QObject *parent = 0);

    QUrl url();
    QString rename();
    QString path();
    int priority();
    int num();

signals:
    
public slots:

private:
    QUrl m_url;
    QString m_rename;
    QString m_savePath;
    int m_priority;
};

#endif // DOWNLOADTASK_H
